package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_pre_recharge", desc = "预下单日志", autoSave = true, uploadCk = true)
public class LogPreRecharge extends ServerBaseLog {
	@FieldTypeAnnotation(desc = "用户id", isIndex = true)
	private long userId;
	@FieldTypeAnnotation(desc = "商品id", isIndex = true)
	private int mallId;
	@FieldTypeAnnotation(desc = "订单号")
	private String orderNo;
	@FieldTypeAnnotation(desc = "价格")
	private long price;

	public LogPreRecharge(long userId, int mallId, String orderNo, long price) {
		this.userId = userId;
		this.mallId = mallId;
		this.orderNo = orderNo;
		this.price = price;
	}

	public long getUserId() {
		return userId;
	}
}
